package com.wp.pojo.basePojo;

import com.wp.pojo.BlogSort;
import com.wp.pojo.Tag;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;
/**
 * 返回给前端的数据封装对象
 * */
@Data
@Accessors(chain = true)
public class BlogResult {
    //
    private String uid;
    //
    private String title;
    //
    private String summary;
    //
    private String content;
    //表中同名字段
    private String tagUid;
    //
    private Integer clickCount;
    //
    private Integer collectCount;
    //
    private Integer praiseCount;
    //
    private String fileUid;
    //
    private String picName;
    //
    private String isOriginal;
    //
    private String author;
    //表中同名字段属性
    private String blogSortUid;
    //
    private String isPublish;
    //
    private Date createTime;

    //
    private List<Tag> tagList;
    //
    private List<String> photoList;
    //博客所属分类名
    private BlogSort blogSort;
}
